/*
 * @Author: Colin Dai
 * @Date: 2022-05-10 09:44:34
 * @LastEditors: Colin Dai
 * @LastEditTime: 2022-05-10 09:47:04
 * @FilePath: /jy-uos/src/os_adapter/rtthread/os_adapter.c
 * @Description: 
 * dailianzheng@163.com
 * Copyright (c) 2022 by Colin.Dai, All Rights Reserved. 
 */
#include "os_adapter.h"

//TODO: >RTTHREAD下的系统能力都没有实现
MutexId MutexInit(void)
{
    return NULL;
}

void MutexLock(MutexId mutex)
{
    
}

void MutexUnlock(MutexId mutex)
{
    
}

void CloseSocket(int *fd)
{
    
}

int WriteMsgQue(unsigned int queueID, const void *bufferAddr, unsigned int bufferSize)
{
    return 0;
}

int CreateMsgQue(const char *queueName,
    unsigned short len, unsigned int *queueID,
    unsigned int flags, unsigned short maxMsgSize)
{
   return 0;
}

int DeleteMsgQue(unsigned int queueID)
{
    return 0;

int ReadMsgQue(unsigned int queueID,
    void *bufferAddr, unsigned int *bufferSize)
{
    
    return 0;
}


